package com.app.mymusic.ui.persons;

import com.chad.library.adapter.base.entity.AbstractExpandableItem;
import com.chad.library.adapter.base.entity.MultiItemEntity;

/**
 * Created by Administrator on 2016-12-13.
 */

public class Depart extends AbstractExpandableItem<Person> implements MultiItemEntity {
    public String name;
    public String beizhu;

    public Depart(String beizhu, String name) {
        this.beizhu = beizhu;
        this.name = name;
    }

    @Override
    public int getLevel() {
        return 1;
    }

    @Override
    public int getItemType() {
        return ExpandableItemAdapter.TYPE_LEVEL_1;
    }
}
